package sctu.edu.java.year2016.team03.huzhou.textwork;

import java.util.Random;

/**
 * Created by Administrator on 2016/5/24.
 */
public class Text_7 {
    public static void main(String[] args) {
        String titles[]=new String[]{"《java从入门到精通（第二版）》","《java编程词典》","《视频学java》"};
        for(int i = 0;i<5;i++){
            new Text_6(titles[new Random().nextInt(3)]);
        }
        System.out.println("总共销售了"+Text_6.getCounter()+"本书");




    }
}
